package cloud.keveri.registry.api;

import cloud.keveri.gateway.dto.ServiceDefinition;
import cloud.keveri.gateway.dto.ServiceInstance;

import java.util.Set;

/**
 * <p>
 * 作者：沈自在
 **/
public interface GatewayServiceListener {
    /**
     * 变更监听
     */
    void onChange(ServiceDefinition serviceDefinition,
                  Set<ServiceInstance> serviceInstanceSet);
}
